package com.group.library.order.dao;

import com.group.library.order.entity.User;
import com.group.library.order.entity.UserLogin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserBaseMapper {

    User findUserInfo();

    List<User> listUser(@Param("name") String name, @Param("phone") String phone, @Param("number") String number);

    int addUser(User user);
    UserLogin findBaseInfo();


//    int updateUser(String newPwd,String userNum);

    int modifyUser(String userId,String name,String number,String faculty,String grade,String phone);

}
